MailjetWp\MailjetPlugin\Widget\WP_Mailjet_Subscribe_Widget D

Total Complexity 169
Dependencies 9
Dependents 0
Total lines 624
Lines of code 492
Logical lines of code 362
Comment lines 104
Methods 19
Properties 4

Methods 19

Method Rating Maintainability Complexity Lines of code
sendSubscriptionEmail()
D
28
43 115
checkTransition()
C
38 33 41
update()
C
38 30 55
activateConfirmSubscriptionUrl()
C
33 25 91
form()
A
47 8 33
getInputProperties()
A
49 7 33
widget()
S
52 5 23
__construct()
S
56 2 17
getMailjetContactProperties()
S
64 3 10
wp_ajax_mailjet_add_contact_property()
S
65 3 8
registerCustomLanguageTranslations()
S
57 1 18
getUpdateArrayKeysPairs()
S
56 1 18
getSubscriptionOptionsSettings()
S
72 2 6
get_widget_slug()
S
82 1 3
flush_widget_cache()
S
80 1 3
widget_textdomain()
S
72 1 4
register_widget_front_styles()
S
77 1 3
register_widget_scripts()
S
73 1 4
register_widget_front_scripts()
S
66 1 7